package util;

import java.util.Map;

public class DataUtil {
    public static void StringCheck(String str) {
        if (null == str || str.isEmpty()) {
            throw new NullPointerException();
        }
    }
    public static void mapCheck(Map map) {
        if (null == map || map.isEmpty()) {
            throw new NullPointerException();
        }
    }
}
